export function checkAgents() {
    // @ts-ignore
    let isPC = true
    const userAgentInfo = navigator.userAgent
    const agents = ['Android', 'iPhone', 'SymbianOS', 'Windows Phone', 'iPad', 'iPod']
    for (let i = 0; i < agents.length; i++) {
        if (userAgentInfo.indexOf(agents[i]) > 0) {
            isPC = false
            break
        }
    }
    return isPC
}
